import { SocketPackTool } from "../panda/net/SocketPackTool";
import echo from "../protocol/echo.js";

SocketPackTool.register(msg => {
    console.log(msg);
}, echo.echo.PacketID.PACKET_SC_PONG, echo.echo.SCPacketPong);
SocketPackTool.registerPackFunc(echo.echo.PacketID.PACKET_CS_PING, echo.echo.CSPacketPing);